package com.qf.demo1.service;

import com.qf.demo1.messages.CmdMsgSend;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CmdService {

    @Autowired
    private CmdMsgSend cmdMsgSend;

    public void send(String topic,Integer qos,String payload){
        cmdMsgSend.send(topic,qos,payload);
    }
}
